/**
 * Copyright (c) 2017 ShopJsp. All Rights Reserved.
 * ============================================================================
 * 版权所有 2011 - 今 北京华宇盈通科技有限公司，并保留所有权利。
 * ----------------------------------------------------------------------------
 * 提示：在未取得SHOPJSP商业授权之前，您不能将本软件应用于商业用途，否则SHOPJSP将保留追究的权力。
 * ----------------------------------------------------------------------------
 * 官方网站：http://www.shopjsp.com
 * ============================================================================
 */

package com.hyyt.shopjsp.wxmg.basicInfo.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author Liu Ling on 2017/8/6.
 *
 * WX_微信菜单信息
 */

public class WxMenuInfo implements Serializable {
    /**
     * 微信菜单信息ID
     */
    private Integer wxmiId;
    /**
     * 公众账号信息ID
     */
    private Integer publicNumberId;
    /**
     * 菜单名称：菜单标题，不超过16个字节，子菜单不超过40个字节
     */
    private String name;
    /**
     * 父菜单Id
     */
    private Integer parentId;
    /**
     * 父菜单名称
     */
    private String parentName;
    /**
     * 类型：菜单的响应动作类型，目前有click、view两种类型
     */
    private String type;
    /**
     * 类型值：key和url,存放json串片段
     * 菜单key值,click类型必须,用于消息接口推送，不超过128字节
     * 菜单url值,view类型必须,网页链接，用户点击菜单可打开链接，不超过256字节
     */
    private String typeValue;
    /**
     * 是否具有二级菜单：0、表示当前一级菜单没有二级菜单；1、表示当前一级菜单具有二级菜单
     */
    private Integer isOwnerSecondLevel;
    /**
     * 创建时间
     */
    private Timestamp createTime;
    /**
     * 排列次序
     */
    private Integer sortIndex;
    /**
     * 最后修改人
     */
    private Integer modifier;
    /**
     * 最后修改日期
     */
    private Timestamp lastUpdateDate;

    private List<WxMenuInfo> subWxMenuList;

    public WxMenuInfo(){}

    public Integer getWxmiId() {
        return wxmiId;
    }

    public void setWxmiId(Integer wxmiId) {
        this.wxmiId = wxmiId;
    }

    public Integer getPublicNumberId() {
        return publicNumberId;
    }

    public void setPublicNumberId(Integer publicNumberId) {
        this.publicNumberId = publicNumberId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTypeValue() {
        return typeValue;
    }

    public void setTypeValue(String typeValue) {
        this.typeValue = typeValue;
    }

    public Integer getIsOwnerSecondLevel() {
        return isOwnerSecondLevel;
    }

    public void setIsOwnerSecondLevel(Integer isOwnerSecondLevel) {
        this.isOwnerSecondLevel = isOwnerSecondLevel;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }

    public Integer getModifier() {
        return modifier;
    }

    public void setModifier(Integer modifier) {
        this.modifier = modifier;
    }

    public Timestamp getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Timestamp lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public List<WxMenuInfo> getSubWxMenuList() {
        return subWxMenuList;
    }

    public void setSubWxMenuList(List<WxMenuInfo> subWxMenuList) {
        this.subWxMenuList = subWxMenuList;
    }
}
